package com.bj.dz.mapper;

import com.bj.dz.entity.SingleBuilding;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SingleBuildingMapper {

	public SingleBuilding getSingleBuildingById(@Param(value = "id") Integer id);

	public List<SingleBuilding>	getSingleBuildingListByMap(Map<String, Object> param);

	public Integer getSingleBuildingCountByMap(Map<String, Object> param);

	public Integer insertSingleBuilding(SingleBuilding singleBuilding);

	public Integer updateSingleBuilding(SingleBuilding singleBuilding);

	public Integer deleteSingleBuildingById(@Param(value = "id") Integer id);

}
